/**
 * 行政班管理接口
 */
import request from '@/utils/request'
const baseApi = '/organization/edu-class'

export function getPage(reqBody) {
  return request({
    url: `${baseApi}/page`,
    method: 'post',
    data: reqBody
  })
}

export function getById(id) {
  return request({
    url: `${baseApi}/id`,
    method: 'get',
    params: { id }
  })
}

export function update(reqData) {
  return request({
    url: `${baseApi}/update`,
    method: 'post',
    data: reqData
  })
}

export function create(reqData) {
  return request({
    url: `${baseApi}/create`,
    method: 'post',
    data: reqData
  })
}

export function deleteByIds(reqBody) {
  return request({
    url: `${baseApi}/delete`,
    method: 'post',
    data: reqBody
  })
}
